package com.zxcl.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 描述: []
 * 作者: zxcl
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@RefreshScope
@Component
@ConfigurationProperties(prefix = "esimport")
public class EsImportConfig {

    /**
     * ES导入的开关
     */
    private Boolean flag;
}
